@echo off
set PRJ_NAME=Teg
set PKG_NAME=teg
set PRJ_PATH=%CD%\..
set SETENV_PATH=C:\JavaProjects
set MAIN_CLASS_NAME=TegMID
set EXTRA_CLASS_NAME=cGame
if exist C:\j2sdk1.4.2_05 (
set JSDK=C:\j2sdk1.4.2_05
)
if exist C:\j2sdk1.4.2_08 (
set JSDK=C:\j2sdk1.4.2_08
)
if exist C:\j2sdk1.4.2_16 (
set JSDK=C:\j2sdk1.4.2_16
)
if exist C:\j2sdk1.4.2_17 (
set JSDK=C:\j2sdk1.4.2_17
)
set MASTER_BATS_PATH=%PRJ_PATH%\_master_bats
set MASTER_SRC_PATH=%PRJ_PATH%\_master_src
set SPECIFIC_BATS_PATH=%PRJ_PATH%\bats 
set SPECIFIC_SRC_PATH=%PRJ_PATH%\src
set RELEASE_PATH=%PRJ_PATH%\release
set BUILD_PATH=%PRJ_PATH%\build
set RAW_PATH=%BUILD_PATH%\0-raw
set PREPROCESSED_PATH=%BUILD_PATH%\1-preprocessed
set DATA_PATH=%PRJ_PATH%\data
set CLASS_PATH=%BUILD_PATH%\2-compiled
set PREVERIFIED_PATH=%BUILD_PATH%\3-preverified
set TAGS_PATH=%PRJ_PATH%\tags
set TOOLS_PATH=%PRJ_PATH%\tools
if exist C:\WTK22 (
set WTK=C:\WTK22
)
if exist C:\WTK2.5.2 (
set WTK=C:\WTK2.5.2
)

set NOKIA_BUILD=0

set JAVA_LIB=%WTK%\lib
if not "%NOKIA_BUILD%"=="1" (
set WTK_LIBS=%JAVA_LIB%\midpapi20.jar;%JAVA_LIB%\cldcapi11.jar
) else (
set WTK_LIBS=%JAVA_LIB%\midpapi20.jar;%JAVA_LIB%\cldcapi11.jar;%JAVA_LIB%\nokiaui.jar
)
set VENDOR=Didi
set VER_MAJ=0
set VER_MID=0
set VER_MIN=1
set MIDLET_VERSION=%VER_MAJ%%VER_MID%%VER_MIN%
set MIDLET_DESCRIPTION=
set MIDLET_NAME=%PRJ_NAME%

set GLEMU_SCR_W=%1
set GLEMU_SCR_H=%2